package org.jfuse;

import java.util.Date;

public abstract class FuseHandler
{
	
	public String readlink(String path) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
	
	public void mkdir(String path, int mode) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
	
	public void unlink(String path) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
	
	public void rmdir(String path) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
	
	public void symlink(String from, String to) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}

	public void rename(String from, String to) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}

	public void link(String from, String to) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}

	public void chmod(String path, int mode) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
		
	public void chown(String path, int uid, int gid) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
		
	public void truncate(String path, long size) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
		
	public void utime(String path, long actime, long modtime) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
		
	public void open(String path) throws FuseResult
	{
	}
		
	public int read(String path, byte[] buffer, long offset) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
		
	public int write(String path, byte[] buffer, long offset) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
		
	public FuseStatVFS statfs(String path) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
		
	public void opendir(String path) throws FuseResult
	{
	}	
	
	public String[] readdir(String path) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
	
	public void create(String path, int mode) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
		
	public FuseStat getattr(String path) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}
	
	public void utime(String path, Date date) throws FuseResult
	{
		throw new FuseResult(FuseResult.ENOSYS);
	}

}

